from qdrant_client import QdrantClient

# 使用 API 密钥连接
client = QdrantClient(
    url="http://192.168.77.101:6333",
    api_key="123456"
)

# 测试连接
collections = client.get_collections()
print(collections)